package com.gardenguell.salad.data.model;

import com.google.gson.annotations.SerializedName;

import java.util.Date;

/**
 * Created by absurd on 16/3/5.
 */
public class Unit extends BaseModel{


    // 24位0表示空
    @SerializedName("cid")
    private int mVegetableId;

    @SerializedName("instanceid")
    private String mInstanceId;

    @SerializedName("date")
    private Date mDate;

    public int getVegetableId() {
        return mVegetableId;
    }

    public void setmVegetableId(int vegetableId) {
        this.mVegetableId = vegetableId;
    }

    public Date getDate() {
        return mDate;
    }

    public void setDate(Date date) {
        this.mDate = date;
    }

    public String getInstanceId() {
        return mInstanceId;
    }

    public void setmInstanceId(String instanceId) {
        this.mInstanceId = instanceId;
    }

    @Override
    public String toString() {
        return "Unit{" +
                "mVegetableId=" + mVegetableId +
                ", mInstanceId=" + mInstanceId +
                ", mDate=" + mDate +
                '}';
    }
}
